import {getCurrentUser} from "./auth";
async function inviteToGroup(group){

    const currentUser = await getCurrentUser()
    return {
        // title: group.name,
        imageUrl: group.shop.pic,
        title: '兵马未动，粮草先行，' + currentUser.nickname + "邀请你订餐",
        path: '/pages/group-detail/index?id=' + group.id,
    }
}

module.exports = {
    inviteToGroup:inviteToGroup
}
